SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}Querenhorst{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}' OR prCity = 'Querenhorst' OR prZip = 'Querenhorst' OR prStreet LIKE '{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}Querenhorst{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}' OR prCountry = 'Querenhorst') AND (prLocation LIKE '{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}Germany{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}Germany{1d850692933767fb8ae53aff402e22f2a4482c957135f5146330853c5bd1ae54}' OR prCountry = 'Germany')